import librosa

class AudioPreprocessor:
    def load_audio(self, file_path, target_sr=44100):
        """加载并重采样音频"""
        y, sr = librosa.load(file_path, sr=target_sr)
        return y